package com.wuyi.tea.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.wuyi.tea.domain.dto.AuthorizationDTO;
import com.wuyi.tea.domain.dto.TradeFormDTO;
import com.wuyi.tea.domain.dto.UserDTO;
import com.wuyi.tea.domain.pojo.User;

public interface UserService extends IService<User> {
    void topUp(TradeFormDTO tradeFormDTO);

    void pay(TradeFormDTO tradeFormDTO);


    Double getByBalance(Long id);

    String login(AuthorizationDTO authorizationDTO);

    void register(AuthorizationDTO authorizationDTO);


    void updateInfo(UserDTO userDto);
}
